package com.efast.cafe.portal.entity.common;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

public class PortalAttachment{

	/**
	 * 
	 */
	private static final long serialVersionUID = 7164160135574760425L;
	private Integer id;
	private String realName;
	private String sysName;
	private String filePath;
	private String fileType;
	private String fileExt;
	private String fileSaveType;
	private int isDelete;
	private String companyCode;
	private String alfrescoFileId;
	private String ossFieldId;


	private Integer optCounter;
	private Date createTime;
	private String createUser;
	private Date lastUpdateTime;
	private String lastUpdateUser;
	/*
	* 文件版本
	* */
	private Float currentVersion ;
	/*
	 * 标识同一个文件多版本唯一Id
	 * */
	private String fileId ;
	/*
	 * 文件大小
	 * */
	private Float fileSize ;
	/*
	 * 文件备注
	 * */
	private String fileComments ;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getRealName() {
		return realName;
	}
	public void setRealName(String realName) {
		this.realName = realName;
	}
	public String getSysName() {
		return sysName;
	}
	public void setSysName(String sysName) {
		this.sysName = sysName;
	}
	public String getFilePath() {
		return filePath;
	}
	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}
	public String getFileType() {
		return fileType;
	}
	public void setFileType(String fileType) {
		this.fileType = fileType;
	}
	public String getFileExt() {
		return fileExt;
	}
	public void setFileExt(String fileExt) {
		this.fileExt = fileExt;
	}
	public String getFileSaveType() {
		return fileSaveType;
	}
	public void setFileSaveType(String fileSaveType) {
		this.fileSaveType = fileSaveType;
	}
	public int getIsDelete() {
		return isDelete;
	}
	public void setIsDelete(int isDelete) {
		this.isDelete = isDelete;
	}
	public String getCompanyCode() {
		return companyCode;
	}
	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}
	public String getAlfrescoFileId() {
		return alfrescoFileId;
	}
	public void setAlfrescoFileId(String alfrescoFileId) {
		this.alfrescoFileId = alfrescoFileId;
	}
	public String getOssFieldId() {
		return ossFieldId;
	}
	public void setOssFieldId(String ossFieldId) {
		this.ossFieldId = ossFieldId;
	}
	public Integer getOptCounter() {
		return optCounter;
	}
	public void setOptCounter(Integer optCounter) {
		this.optCounter = optCounter;
	}
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") 
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getCreateUser() {
		return createUser;
	}
	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") 
	public Date getLastUpdateTime() {
		return lastUpdateTime;
	}
	public void setLastUpdateTime(Date lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}
	public String getLastUpdateUser() {
		return lastUpdateUser;
	}
	public void setLastUpdateUser(String lastUpdateUser) {
		this.lastUpdateUser = lastUpdateUser;
	}



	public String getFileId() {
		return fileId;
	}

	public void setFileId(String fileId) {
		this.fileId = fileId;
	}

	public Float getCurrentVersion() {
		return currentVersion;
	}

	public void setCurrentVersion(Float currentVersion) {
		this.currentVersion = currentVersion;
	}

	public Float getFileSize() {
		return fileSize;
	}

	public void setFileSize(Float fileSize) {
		this.fileSize = fileSize;
	}

	public String getFileComments() {
		return fileComments;
	}

	public void setFileComments(String fileComments) {
		this.fileComments = fileComments;
	}
}
